<div class="main safe-detail">
  <div class="main-header">
    <div class="pa-icon-div pull-left fs-14">
      <i class="iconfont icon-shouye fs-14 icon-vertical-top"></i>
      <span class="fs-vertical-middle">工作台>安全活动>
      <span class="fs-theme-color">安全活动详情</span>
      </span>
    </div>
    <go-back></go-back>
  </div>
  <div class="main-content">
    <div class="container-header fs-16">
      <span>安全教育培训</span>
    </div>
    <div class="content-item">
      <div class="content-item-header fs-14">
        <label>基本信息</label>
      </div>
      <form class="content-item-content fs-0">
        <div class="pa-form-control">
          <label class="text-right width175 fs-theme-color">教育培训主题：</label>
          <div class="activity-detail-item">{{vm.data.activity.name}}</div>
        </div>
        <div class="pa-form-control">
          <label class="text-right width175 fs-theme-color">培训方式：</label>
          <div class="activity-detail-item">{{vm.data.activity.way == 1 ?"讲解":"视频"}}</div>
        </div>
        <div class="pa-form-control">
          <label class="text-right width175 fs-theme-color">组织部门：</label>
          <div class="activity-detail-item">{{vm.data.activity.organizer}}</div>
        </div>
        <div class="pa-form-control">
          <label class="text-right width175 fs-theme-color">主讲人：</label>
          <div class="activity-detail-item">{{vm.data.activity.speaker}}</div>
        </div>
        <div class="pa-form-control">
          <label class="text-right width175 fs-theme-color">培训时间：</label>
          <div class="activity-detail-item">{{vm.data.activity.startTime|date:'yyyy-MM-dd'}}</div>
        </div>
        <div class="pa-form-control">
          <label class="text-right width175 fs-theme-color">培训地点：</label>
          <div class="activity-detail-item">{{vm.data.activity.site}}</div>
        </div>
        <div class="pa-form-control">
          <label class="text-right width175 fs-theme-color">参加部门：</label>
          <div class="activity-detail-item">{{vm.data.activity.joinDepartment}}</div>
        </div>
        <div class="pa-form-control">
          <label class="text-right width175 fs-theme-color">学时：</label>
          <div class="activity-detail-item">{{vm.data.activity.period}}</div>
        </div>
        <div class="pa-form-control">
          <label class="text-right width175 fs-theme-color">记录人：</label>
          <div class="activity-detail-item">{{vm.data.activity.recorder}}</div>
        </div>
        <div class="pa-form-control pa-width-50">
          <label class="text-right width175 fs-theme-color">主要内容：</label>
          <div class="activity-detail-item">{{vm.data.activity.content}}</div>
        </div>
        <div class="pa-form-control pa-width-50">
          <label class="text-right width175 fs-theme-color">教育培训内容：</label>
          <div class="activity-detail-item">见附件</div>
        </div>
      </form>
    </div>
    <div class="content-item info-item">
      <div class="info-item-header fs-14">
        <label class="info-item-header-label">附件信息</label>
      </div>
      <div class="file-list">
        <div ng-repeat="file in vm.data.activity.files" style="margin: 10px;">
          {{file.fileName}}
          <a class="pa-btn file-del-btn" target="_blank"
            ui-sref="documentPreview({id: file.id})">预览</a>
          <a class="pa-btn file-del-btn" target="_blank"
            ng-href="{{vm.getDownloadSrc(file.id)}}" download="{{file.fileName}}">下载</a>
        </div>
      </div>
    </div>
  </div>
</div>
